home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / ddeml.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  17.5 KB  |  498 lines

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects --*/
  2.  
  3. /*****************************************************************************\
  4. *                                                                             *
  5. *  ddeml.h -    DDEML API header file                                         *
  6. *                                                                             *
  7. *               Version 3.10                                                  *
  8. *                                                                             *
  9. *               Copyright (c) 1993-96, Microsoft Corp.  All rights reserved.  *
  10. *                                                                             *
  11. \*****************************************************************************/
  12. #ifndef _INC_DDEMLH
  13. #define _INC_DDEMLH
  14. #pragma option push -b
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif /* __cplusplus */
  19.  
  20. /******** public types ********/
  21.  
  22. DECLARE_HANDLE(HCONVLIST);
  23. DECLARE_HANDLE(HCONV);
  24. DECLARE_HANDLE(HSZ);
  25. DECLARE_HANDLE(HDDEDATA);
  26. #define EXPENTRY        CALLBACK
  27.  
  28. /* the following structure is for use with XTYP_WILDCONNECT processing. */
  29.  
  30. typedef struct tagHSZPAIR {
  31.     HSZ hszSvc;
  32.     HSZ hszTopic;
  33. } HSZPAIR;
  34. typedef HSZPAIR FAR *PHSZPAIR;
  35.  
  36. /* The following structure is used by DdeConnect() and DdeConnectList() and
  37.    by XTYP_CONNECT and XTYP_WILDCONNECT callbacks. */
  38.  
  39. typedef struct tagCONVCONTEXT {
  40.     UINT        cb;             /* set to sizeof(CONVCONTEXT) */
  41.     UINT        wFlags;         /* none currently defined. */
  42.     UINT        wCountryID;     /* country code for topic/item strings used. */
  43.     int         iCodePage;      /* codepage used for topic/item strings. */
  44.     DWORD       dwLangID;       /* language ID for topic/item strings. */
  45.     DWORD       dwSecurity;     /* Private security code. */
  46.     SECURITY_QUALITY_OF_SERVICE qos;  /* client side's quality of service */
  47. } CONVCONTEXT;
  48. typedef CONVCONTEXT FAR *PCONVCONTEXT;
  49.  
  50.  
  51. /* The following structure is used by DdeQueryConvInfo(): */
  52.  
  53. typedef struct tagCONVINFO {
  54.     DWORD   cb;            /* sizeof(CONVINFO)  */
  55.     DWORD   hUser;         /* user specified field  */
  56.     HCONV   hConvPartner;  /* hConv on other end or 0 if non-ddemgr partner  */
  57.     HSZ     hszSvcPartner; /* app name of partner if obtainable  */
  58.     HSZ     hszServiceReq; /* AppName requested for connection  */
  59.     HSZ     hszTopic;      /* Topic name for conversation  */
  60.     HSZ     hszItem;       /* transaction item name or NULL if quiescent  */
  61.     UINT    wFmt;          /* transaction format or NULL if quiescent  */
  62.     UINT    wType;         /* XTYP_ for current transaction  */
  63.     UINT    wStatus;       /* ST_ constant for current conversation  */
  64.     UINT    wConvst;       /* XST_ constant for current transaction  */
  65.     UINT    wLastError;    /* last transaction error.  */
  66.     HCONVLIST hConvList;   /* parent hConvList if this conversation is in a list */
  67.     CONVCONTEXT ConvCtxt;  /* conversation context */
  68.     HWND    hwnd;          /* window handle for this conversation */
  69.     HWND    hwndPartner;   /* partner window handle for this conversation */
  70. } CONVINFO;
  71. typedef CONVINFO FAR *PCONVINFO;
  72.  
  73. /***** conversation states (usState) *****/
  74.  
  75. #define     XST_NULL              0  /* quiescent states */
  76. #define     XST_INCOMPLETE        1
  77. #define     XST_CONNECTED         2
  78. #define     XST_INIT1             3  /* mid-initiation states */
  79. #define     XST_INIT2             4
  80. #define     XST_REQSENT           5  /* active conversation states */
  81. #define     XST_DATARCVD          6
  82. #define     XST_POKESENT          7
  83. #define     XST_POKEACKRCVD       8
  84. #define     XST_EXECSENT          9
  85. #define     XST_EXECACKRCVD      10
  86. #define     XST_ADVSENT          11
  87. #define     XST_UNADVSENT        12
  88. #define     XST_ADVACKRCVD       13
  89. #define     XST_UNADVACKRCVD     14
  90. #define     XST_ADVDATASENT      15
  91. #define     XST_ADVDATAACKRCVD   16
  92.  
  93. /* used in LOWORD(dwData1) of XTYP_ADVREQ callbacks... */
  94. #define     CADV_LATEACK         0xFFFF
  95.  
  96. /***** conversation status bits (fsStatus) *****/
  97.  
  98. #define     ST_CONNECTED            0x0001
  99. #define     ST_ADVISE               0x0002
  100. #define     ST_ISLOCAL              0x0004
  101. #define     ST_BLOCKED              0x0008
  102. #define     ST_CLIENT               0x0010
  103. #define     ST_TERMINATED           0x0020
  104. #define     ST_INLIST               0x0040
  105. #define     ST_BLOCKNEXT            0x0080
  106. #define     ST_ISSELF               0x0100
  107.  
  108.  
  109. /* DDE constants for wStatus field */
  110.  
  111. #define DDE_FACK                0x8000
  112. #define DDE_FBUSY               0x4000
  113. #define DDE_FDEFERUPD           0x4000
  114. #define DDE_FACKREQ             0x8000
  115. #define DDE_FRELEASE            0x2000
  116. #define DDE_FREQUESTED          0x1000
  117. #define DDE_FAPPSTATUS          0x00ff
  118. #define DDE_FNOTPROCESSED       0x0000
  119.  
  120. #define DDE_FACKRESERVED        (~(DDE_FACK | DDE_FBUSY | DDE_FAPPSTATUS))
  121. #define DDE_FADVRESERVED        (~(DDE_FACKREQ | DDE_FDEFERUPD))
  122. #define DDE_FDATRESERVED        (~(DDE_FACKREQ | DDE_FRELEASE | DDE_FREQUESTED))
  123. #define DDE_FPOKRESERVED        (~(DDE_FRELEASE))
  124.  
  125. /***** message filter hook types *****/
  126.  
  127. #define     MSGF_DDEMGR             0x8001
  128.  
  129. /***** codepage constants ****/
  130.  
  131. #define CP_WINANSI      1004    /* default codepage for windows & old DDE convs. */
  132. #define CP_WINUNICODE   1200
  133. #ifdef UNICODE
  134. #define CP_WINNEUTRAL   CP_WINUNICODE
  135. #else  // !UNICODE
  136. #define CP_WINNEUTRAL   CP_WINANSI
  137. #endif // !UNICODE
  138.  
  139. /***** transaction types *****/
  140.  
  141. #define     XTYPF_NOBLOCK            0x0002  /* CBR_BLOCK will not work */
  142. #define     XTYPF_NODATA             0x0004  /* DDE_FDEFERUPD */
  143. #define     XTYPF_ACKREQ             0x0008  /* DDE_FACKREQ */
  144.  
  145. #define     XCLASS_MASK              0xFC00
  146. #define     XCLASS_BOOL              0x1000
  147. #define     XCLASS_DATA              0x2000
  148. #define     XCLASS_FLAGS             0x4000
  149. #define     XCLASS_NOTIFICATION      0x8000
  150.  
  151. #define     XTYP_ERROR              (0x0000 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK )
  152. #define     XTYP_ADVDATA            (0x0010 | XCLASS_FLAGS         )
  153. #define     XTYP_ADVREQ             (0x0020 | XCLASS_DATA | XTYPF_NOBLOCK )
  154. #define     XTYP_ADVSTART           (0x0030 | XCLASS_BOOL          )
  155. #define     XTYP_ADVSTOP            (0x0040 | XCLASS_NOTIFICATION)
  156. #define     XTYP_EXECUTE            (0x0050 | XCLASS_FLAGS         )
  157. #define     XTYP_CONNECT            (0x0060 | XCLASS_BOOL | XTYPF_NOBLOCK)
  158. #define     XTYP_CONNECT_CONFIRM    (0x0070 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
  159. #define     XTYP_XACT_COMPLETE      (0x0080 | XCLASS_NOTIFICATION  )
  160. #define     XTYP_POKE               (0x0090 | XCLASS_FLAGS         )
  161. #define     XTYP_REGISTER           (0x00A0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
  162. #define     XTYP_REQUEST            (0x00B0 | XCLASS_DATA          )
  163. #define     XTYP_DISCONNECT         (0x00C0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
  164. #define     XTYP_UNREGISTER         (0x00D0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
  165. #define     XTYP_WILDCONNECT        (0x00E0 | XCLASS_DATA | XTYPF_NOBLOCK)
  166.  
  167. #define     XTYP_MASK                0x00F0
  168. #define     XTYP_SHIFT               4  /* shift to turn XTYP_ into an index */
  169.  
  170. /***** Timeout constants *****/
  171.  
  172. #define     TIMEOUT_ASYNC           0xFFFFFFFF
  173.  
  174. /***** Transaction ID constants *****/
  175.  
  176. #define     QID_SYNC                0xFFFFFFFF
  177.  
  178. /****** public strings used in DDE ******/
  179.  
  180. #ifdef UNICODE
  181. #define SZDDESYS_TOPIC         L"System"
  182. #define SZDDESYS_ITEM_TOPICS   L"Topics"
  183. #define SZDDESYS_ITEM_SYSITEMS L"SysItems"
  184. #define SZDDESYS_ITEM_RTNMSG   L"ReturnMessage"
  185. #define SZDDESYS_ITEM_STATUS   L"Status"
  186. #define SZDDESYS_ITEM_FORMATS  L"Formats"
  187. #define SZDDESYS_ITEM_HELP     L"Help"
  188. #define SZDDE_ITEM_ITEMLIST    L"TopicItemList"
  189. #else
  190. #define SZDDESYS_TOPIC         "System"
  191. #define SZDDESYS_ITEM_TOPICS   "Topics"
  192. #define SZDDESYS_ITEM_SYSITEMS "SysItems"
  193. #define SZDDESYS_ITEM_RTNMSG   "ReturnMessage"
  194. #define SZDDESYS_ITEM_STATUS   "Status"
  195. #define SZDDESYS_ITEM_FORMATS  "Formats"
  196. #define SZDDESYS_ITEM_HELP     "Help"
  197. #define SZDDE_ITEM_ITEMLIST    "TopicItemList"
  198. #endif
  199.  
  200.  
  201. /****** API entry points ******/
  202.  
  203. typedef HDDEDATA CALLBACK FNCALLBACK(UINT wType, UINT wFmt, HCONV hConv,
  204.         HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1, DWORD dwData2);
  205. typedef HDDEDATA (CALLBACK *PFNCALLBACK)(UINT wType, UINT wFmt, HCONV hConv,
  206.         HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1, DWORD dwData2);
  207.  
  208. #define     CBR_BLOCK           ((HDDEDATA)0xffffffffL)
  209.  
  210. /* DLL registration functions */
  211.  
  212. UINT WINAPI DdeInitializeA(LPDWORD pidInst, PFNCALLBACK pfnCallback,
  213.         DWORD afCmd, DWORD ulRes);
  214. UINT WINAPI DdeInitializeW(LPDWORD pidInst, PFNCALLBACK pfnCallback,
  215.         DWORD afCmd, DWORD ulRes);
  216. #ifdef UNICODE
  217. #define DdeInitialize  DdeInitializeW
  218. #else
  219. #define DdeInitialize  DdeInitializeA
  220. #endif // !UNICODE
  221.  
  222. /*
  223.  * Callback filter flags for use with standard apps.
  224.  */
  225.  
  226. #define     CBF_FAIL_SELFCONNECTIONS     0x00001000
  227. #define     CBF_FAIL_CONNECTIONS         0x00002000
  228. #define     CBF_FAIL_ADVISES             0x00004000
  229. #define     CBF_FAIL_EXECUTES            0x00008000
  230. #define     CBF_FAIL_POKES               0x00010000
  231. #define     CBF_FAIL_REQUESTS            0x00020000
  232. #define     CBF_FAIL_ALLSVRXACTIONS      0x0003f000
  233.  
  234. #define     CBF_SKIP_CONNECT_CONFIRMS    0x00040000
  235. #define     CBF_SKIP_REGISTRATIONS       0x00080000
  236. #define     CBF_SKIP_UNREGISTRATIONS     0x00100000
  237. #define     CBF_SKIP_DISCONNECTS         0x00200000
  238. #define     CBF_SKIP_ALLNOTIFICATIONS    0x003c0000
  239.  
  240. /*
  241.  * Application command flags
  242.  */
  243. #define     APPCMD_CLIENTONLY            0x00000010L
  244. #define     APPCMD_FILTERINITS           0x00000020L
  245. #define     APPCMD_MASK                  0x00000FF0L
  246.  
  247. /*
  248.  * Application classification flags
  249.  */
  250. #define     APPCLASS_STANDARD            0x00000000L
  251. #define     APPCLASS_MASK                0x0000000FL
  252.  
  253.  
  254.  
  255. BOOL WINAPI DdeUninitialize(DWORD idInst);
  256.  
  257. /*
  258.  * conversation enumeration functions
  259.  */
  260.  
  261. HCONVLIST WINAPI DdeConnectList(DWORD idInst, HSZ hszService, HSZ hszTopic,
  262.         HCONVLIST hConvList, PCONVCONTEXT pCC);
  263. HCONV WINAPI DdeQueryNextServer(HCONVLIST hConvList, HCONV hConvPrev);
  264. BOOL WINAPI DdeDisconnectList(HCONVLIST hConvList);
  265.  
  266. /*
  267.  * conversation control functions
  268.  */
  269.  
  270. HCONV WINAPI DdeConnect(DWORD idInst, HSZ hszService, HSZ hszTopic,
  271.         PCONVCONTEXT pCC);
  272. BOOL WINAPI DdeDisconnect(HCONV hConv);
  273. HCONV WINAPI DdeReconnect(HCONV hConv);
  274. UINT WINAPI DdeQueryConvInfo(HCONV hConv, DWORD idTransaction, PCONVINFO pConvInfo);
  275. BOOL WINAPI DdeSetUserHandle(HCONV hConv, DWORD id, DWORD hUser);
  276. BOOL WINAPI DdeAbandonTransaction(DWORD idInst, HCONV hConv, DWORD idTransaction);
  277.  
  278.  
  279. /*
  280.  * app server interface functions
  281.  */
  282.  
  283. BOOL WINAPI DdePostAdvise(DWORD idInst, HSZ hszTopic, HSZ hszItem);
  284. BOOL WINAPI DdeEnableCallback(DWORD idInst, HCONV hConv, UINT wCmd);
  285. BOOL WINAPI DdeImpersonateClient(HCONV hConv);
  286.  
  287. #define EC_ENABLEALL            0
  288. #define EC_ENABLEONE            ST_BLOCKNEXT
  289. #define EC_DISABLE              ST_BLOCKED
  290. #define EC_QUERYWAITING         2
  291.  
  292.  
  293. HDDEDATA WINAPI DdeNameService(DWORD idInst, HSZ hsz1, HSZ hsz2, UINT afCmd);
  294.  
  295. #define DNS_REGISTER        0x0001
  296. #define DNS_UNREGISTER      0x0002
  297. #define DNS_FILTERON        0x0004
  298. #define DNS_FILTEROFF       0x0008
  299.  
  300. /*
  301.  * app client interface functions
  302.  */
  303.  
  304. HDDEDATA WINAPI DdeClientTransaction(LPBYTE pData, DWORD cbData,
  305.         HCONV hConv, HSZ hszItem, UINT wFmt, UINT wType,
  306.         DWORD dwTimeout, LPDWORD pdwResult);
  307.  
  308. /*
  309.  *data transfer functions
  310.  */
  311.  
  312. HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst, LPBYTE pSrc, DWORD cb,
  313.         DWORD cbOff, HSZ hszItem, UINT wFmt, UINT afCmd);
  314. HDDEDATA WINAPI DdeAddData(HDDEDATA hData, LPBYTE pSrc, DWORD cb, DWORD cbOff);
  315. DWORD WINAPI DdeGetData(HDDEDATA hData, LPBYTE pDst, DWORD cbMax, DWORD cbOff);
  316. LPBYTE WINAPI DdeAccessData(HDDEDATA hData, LPDWORD pcbDataSize);
  317. BOOL WINAPI DdeUnaccessData(HDDEDATA hData);
  318. BOOL WINAPI DdeFreeDataHandle(HDDEDATA hData);
  319.  
  320. #define     HDATA_APPOWNED          0x0001
  321.  
  322.  
  323. UINT WINAPI DdeGetLastError(DWORD idInst);
  324.  
  325. #define     DMLERR_NO_ERROR                    0       /* must be 0 */
  326.  
  327. #define     DMLERR_FIRST                       0x4000
  328.  
  329. #define     DMLERR_ADVACKTIMEOUT               0x4000
  330. #define     DMLERR_BUSY                        0x4001
  331. #define     DMLERR_DATAACKTIMEOUT              0x4002
  332. #define     DMLERR_DLL_NOT_INITIALIZED         0x4003
  333. #define     DMLERR_DLL_USAGE                   0x4004
  334. #define     DMLERR_EXECACKTIMEOUT              0x4005
  335. #define     DMLERR_INVALIDPARAMETER            0x4006
  336. #define     DMLERR_LOW_MEMORY                  0x4007
  337. #define     DMLERR_MEMORY_ERROR                0x4008
  338. #define     DMLERR_NOTPROCESSED                0x4009
  339. #define     DMLERR_NO_CONV_ESTABLISHED         0x400a
  340. #define     DMLERR_POKEACKTIMEOUT              0x400b
  341. #define     DMLERR_POSTMSG_FAILED              0x400c
  342. #define     DMLERR_REENTRANCY                  0x400d
  343. #define     DMLERR_SERVER_DIED                 0x400e
  344. #define     DMLERR_SYS_ERROR                   0x400f
  345. #define     DMLERR_UNADVACKTIMEOUT             0x4010
  346. #define     DMLERR_UNFOUND_QUEUE_ID            0x4011
  347.  
  348. #define     DMLERR_LAST                        0x4011
  349.  
  350. HSZ  WINAPI DdeCreateStringHandleA(DWORD idInst, LPCSTR psz, int iCodePage);
  351. HSZ  WINAPI DdeCreateStringHandleW(DWORD idInst, LPCWSTR psz, int iCodePage);
  352. #ifdef UNICODE
  353. #define DdeCreateStringHandle  DdeCreateStringHandleW
  354. #else
  355. #define DdeCreateStringHandle  DdeCreateStringHandleA
  356. #endif // !UNICODE
  357. DWORD WINAPI DdeQueryStringA(DWORD idInst, HSZ hsz, LPSTR psz, DWORD cchMax, int iCodePage);
  358. DWORD WINAPI DdeQueryStringW(DWORD idInst, HSZ hsz, LPWSTR psz, DWORD cchMax, int iCodePage);
  359. #ifdef UNICODE
  360. #define DdeQueryString  DdeQueryStringW
  361. #else
  362. #define DdeQueryString  DdeQueryStringA
  363. #endif // !UNICODE
  364. BOOL WINAPI DdeFreeStringHandle(DWORD idInst, HSZ hsz);
  365. BOOL WINAPI DdeKeepStringHandle(DWORD idInst, HSZ hsz);
  366. int WINAPI DdeCmpStringHandles(HSZ hsz1, HSZ hsz2);
  367.  
  368.  
  369. #ifndef NODDEMLSPY
  370. /*
  371.  * DDEML public debugging header file info
  372.  */
  373.  
  374. typedef struct tagDDEML_MSG_HOOK_DATA {    // new for NT
  375.     UINT uiLo;      // unpacked lo and hi parts of lParam
  376.     UINT uiHi;
  377.     DWORD cbData;   // amount of data in message, if any. May be > than 32 bytes.
  378.     DWORD Data[8];  // data peeking by DDESPY is limited to 32 bytes.
  379. } DDEML_MSG_HOOK_DATA, *PDDEML_MSG_HOOK_DATA;
  380.  
  381.  
  382. typedef struct tagMONMSGSTRUCT {
  383.     UINT    cb;
  384.     HWND    hwndTo;
  385.     DWORD   dwTime;
  386.     HANDLE  hTask;
  387.     UINT    wMsg;
  388.     WPARAM  wParam;
  389.     LPARAM  lParam;
  390.     DDEML_MSG_HOOK_DATA dmhd;       // new for NT
  391. } MONMSGSTRUCT, *PMONMSGSTRUCT;
  392.  
  393. typedef struct tagMONCBSTRUCT {
  394.     UINT   cb;
  395.     DWORD  dwTime;
  396.     HANDLE hTask;
  397.     DWORD  dwRet;
  398.     UINT   wType;
  399.     UINT   wFmt;
  400.     HCONV  hConv;
  401.     HSZ    hsz1;
  402.     HSZ    hsz2;
  403.     HDDEDATA hData;
  404.     DWORD  dwData1;
  405.     DWORD  dwData2;
  406.     CONVCONTEXT cc;                 // new for NT for XTYP_CONNECT callbacks
  407.     DWORD  cbData;                  // new for NT for data peeking
  408.     DWORD  Data[8];                 // new for NT for data peeking
  409. } MONCBSTRUCT, *PMONCBSTRUCT;
  410.  
  411. typedef struct tagMONHSZSTRUCTA {
  412.     UINT   cb;
  413.     BOOL   fsAction;    /* MH_ value */
  414.     DWORD  dwTime;
  415.     HSZ    hsz;
  416.     HANDLE hTask;
  417.     CHAR    str[1];
  418. } MONHSZSTRUCTA, *PMONHSZSTRUCTA;
  419. typedef struct tagMONHSZSTRUCTW {
  420.     UINT   cb;
  421.     BOOL   fsAction;    /* MH_ value */
  422.     DWORD  dwTime;
  423.     HSZ    hsz;
  424.     HANDLE hTask;
  425.     WCHAR   str[1];
  426. } MONHSZSTRUCTW, *PMONHSZSTRUCTW;
  427. #ifdef UNICODE
  428. typedef MONHSZSTRUCTW MONHSZSTRUCT;
  429. typedef PMONHSZSTRUCTW PMONHSZSTRUCT;
  430. #else
  431. typedef MONHSZSTRUCTA MONHSZSTRUCT;
  432. typedef PMONHSZSTRUCTA PMONHSZSTRUCT;
  433. #endif // UNICODE
  434.  
  435. #define MH_CREATE   1
  436. #define MH_KEEP     2
  437. #define MH_DELETE   3
  438. #define MH_CLEANUP  4
  439.  
  440. typedef struct tagMONERRSTRUCT {
  441.     UINT    cb;
  442.     UINT    wLastError;
  443.     DWORD   dwTime;
  444.     HANDLE  hTask;
  445. } MONERRSTRUCT, *PMONERRSTRUCT;
  446.  
  447. typedef struct tagMONLINKSTRUCT {
  448.     UINT    cb;
  449.     DWORD   dwTime;
  450.     HANDLE  hTask;
  451.     BOOL    fEstablished;
  452.     BOOL    fNoData;
  453.     HSZ     hszSvc;
  454.     HSZ     hszTopic;
  455.     HSZ     hszItem;
  456.     UINT    wFmt;
  457.     BOOL    fServer;
  458.     HCONV   hConvServer;
  459.     HCONV   hConvClient;
  460. } MONLINKSTRUCT, *PMONLINKSTRUCT;
  461.  
  462. typedef struct tagMONCONVSTRUCT {
  463.     UINT    cb;
  464.     BOOL    fConnect;
  465.     DWORD   dwTime;
  466.     HANDLE  hTask;
  467.     HSZ     hszSvc;
  468.     HSZ     hszTopic;
  469.     HCONV   hConvClient;        // Globally unique value != apps local hConv
  470.     HCONV   hConvServer;        // Globally unique value != apps local hConv
  471. } MONCONVSTRUCT, *PMONCONVSTRUCT;
  472.  
  473. #define     MAX_MONITORS            4
  474. #define     APPCLASS_MONITOR        0x00000001L
  475. #define     XTYP_MONITOR            (0x00F0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
  476.  
  477. /*
  478.  * Callback filter flags for use with MONITOR apps - 0 implies no monitor
  479.  * callbacks.
  480.  */
  481. #define     MF_HSZ_INFO                  0x01000000
  482. #define     MF_SENDMSGS                  0x02000000
  483. #define     MF_POSTMSGS                  0x04000000
  484. #define     MF_CALLBACKS                 0x08000000
  485. #define     MF_ERRORS                    0x10000000
  486. #define     MF_LINKS                     0x20000000
  487. #define     MF_CONV                      0x40000000
  488.  
  489. #define     MF_MASK                      0xFF000000
  490. #endif /* NODDEMLSPY */
  491.  
  492. #ifdef __cplusplus
  493. }
  494. #endif  /* __cplusplus */
  495.  
  496. #pragma option pop
  497. #endif /* _INC_DDEMLH */
  498.